<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<table class="stableborder" cellpadding="2" cellspacing="2" style="padding: 2px; width: 100%">
	<tr>
		<td class="labelproperty_title">属性名称</td>
		<td class="labelpropertydesc_title">属性描述</td>
	</tr>
	<tr>
		<td class="labelproperty">url</td>
		<td class="labelpropertydesc">通过url载入树节点信息</td>
	</tr>
	<tr>
		<td class="labelproperty">method</td>
		<td class="labelpropertydesc">post/get</td>
	</tr>
	<tr>
		<td class="labelproperty">animate</td>
		<td class="labelpropertydesc">false/true</td>
	</tr>
	<tr>
		<td class="labelproperty">checkbox</td>
		<td class="labelpropertydesc">false/true</td>
	</tr>
	<tr>
		<td class="labelproperty">cascadeCheck</td>
		<td class="labelpropertydesc">false/true</td>
	</tr>
	<tr>
		<td class="labelproperty">onlyLeafCheck</td>
		<td class="labelpropertydesc">false/true</td>
	</tr>
	<tr>
		<td class="labelproperty">lines</td>
		<td class="labelpropertydesc">false/true</td>
	</tr>
	<tr>
		<td class="labelproperty">dnd</td>
		<td class="labelpropertydesc">false/true</td>
	</tr>
	<tr>
		<td class="labelproperty">data</td>
		<td class="labelpropertydesc">通过data定义树</td>
	</tr>
	<tr>
		<td class="labelproperty">onBeforeLoad</td>
		<td class="labelpropertydesc">载入前触发的事件,参数：node,data</td>
	</tr>
	<tr>
		<td class="labelproperty">onLoadSuccess</td>
		<td class="labelpropertydesc">载入成功时触发的事件,参数：node,data</td>
	</tr>
	<tr>
		<td class="labelproperty">onLoadError</td>
		<td class="labelpropertydesc">载入失败时触发的事件</td>
	</tr>
	<tr>
		<td class="labelproperty">onClick</td>
		<td class="labelpropertydesc">单击时触发的事件,参数：node</td>
	</tr>
	<tr>
		<td class="labelproperty">onDblClick</td>
		<td class="labelpropertydesc">双击时触发的事件,参数：node</td>
	</tr>
	<tr>
		<td class="labelproperty">onBeforeExpand</td>
		<td class="labelpropertydesc">展开前触发的事件,参数：node</td>
	</tr>
	<tr>
		<td class="labelproperty">onExpand</td>
		<td class="labelpropertydesc">展开时触发的事件,参数：node</td>
	</tr>
	<tr>
		<td class="labelproperty">onBeforeCollapse</td>
		<td class="labelpropertydesc">折叠前触发的事件,参数：node</td>
	</tr>
	<tr>
		<td class="labelproperty">onCollapse</td>
		<td class="labelpropertydesc">折叠时触发的事件,参数：node</td>
	</tr>
	<tr>
		<td class="labelproperty">onBeforeCheck</td>
		<td class="labelpropertydesc">check前触发的事件,参数：node,checked</td>
	</tr>
	<tr>
		<td class="labelproperty">onCheck</td>
		<td class="labelpropertydesc">check时触发的事件,参数：node</td>
	</tr>
	<tr>
		<td class="labelproperty">onBeforeSelect</td>
		<td class="labelpropertydesc">选则前触发的事件,参数：node</td>
	</tr>
	<tr>
		<td class="labelproperty">onSelect</td>
		<td class="labelpropertydesc">选择时触发的事件,参数：node</td>
	</tr>
	<tr>
		<td class="labelproperty">onBeforeDrag</td>
		<td class="labelpropertydesc">拖拽前触发的事件,参数：node</td>
	</tr>
	<tr>
		<td class="labelproperty">onStartDrag</td>
		<td class="labelpropertydesc">开始拖拽时触发的事件,参数：node</td>
	</tr>
	<tr>
		<td class="labelproperty">onStopDrag</td>
		<td class="labelpropertydesc">停止拖拽时触发的事件,参数：node</td>
	</tr>
	<tr>
		<td class="labelproperty">onDragEnter</td>
		<td class="labelpropertydesc">拽入时触发的事件,参数：target, source</td>
	</tr>
	<tr>
		<td class="labelproperty">onDragOver</td>
		<td class="labelpropertydesc">拽到时触发的事件,参数：target, source</td>
	</tr>
	<tr>
		<td class="labelproperty">onDragLeave</td>
		<td class="labelpropertydesc">离开时触发的事件,参数：target, source</td>
	</tr>
	<tr>
		<td class="labelproperty">onDrop</td>
		<td class="labelpropertydesc">落下时触发的事件,参数：node</td>
	</tr>
	<tr>
		<td class="labelproperty">onBeforeEdit</td>
		<td class="labelpropertydesc">编辑前触发的事件,参数：node</td>
	</tr>
	<tr>
		<td class="labelproperty">onAfterEdit</td>
		<td class="labelpropertydesc">编辑后,参数：node</td>
	</tr>
	<tr>
		<td class="labelproperty">onCancelEdit</td>
		<td class="labelpropertydesc">取消编辑时触发的事件,参数：node</td>
	</tr>
</table>
<table class="stableborder" cellpadding="2" cellspacing="2" style="padding: 2px; width: 100%">
	<tr>
		<td class="labelproperty_title">方法名称</td>
		<td class="labelpropertydesc_title">方法描述</td>
	</tr>
	<tr>
		<td class="labelproperty">loadData</td>
		<td class="labelpropertydesc">通过data加载树,$('#treeId').tree('loadData',data)</td>
	</tr>
	<tr>
		<td class="labelproperty">getNodes</td>
		<td class="labelpropertydesc">获取所有树节点,$('#treeId').tree('getNodes')</td>
	</tr>
	<tr>
		<td class="labelproperty">getData</td>
		<td class="labelpropertydesc">获取树的数据,$('#treeId').tree('getData')</td>
	</tr>
	<tr>
		<td class="labelproperty">reload</td>
		<td class="labelpropertydesc">重新载入某节点,$('#treeId').tree('reload',node)</td>
	</tr>
	<tr>
		<td class="labelproperty">getRoots</td>
		<td class="labelpropertydesc">获取根节点,$('#treeId').tree('getRoots')</td>
	</tr>
	<tr>
		<td class="labelproperty">getParent</td>
		<td class="labelpropertydesc">获取节点的父节点,$('#treeId').tree('getParent',node)</td>
	</tr>
	<tr>
		<td class="labelproperty">getChildren</td>
		<td class="labelpropertydesc">获取节点的儿子节点,$('#treeId').tree('getChildren',node)</td>
	</tr>
	<tr>
		<td class="labelproperty">getChecked</td>
		<td class="labelpropertydesc">获得选中的节点,$('#treeId').tree('reload',node)</td>
	</tr>
	<tr>
		<td class="labelproperty">getSelected</td>
		<td class="labelpropertydesc">获得选中的节点,$('#treeId').tree('getSelected')</td>
	</tr>
	<tr>
		<td class="labelproperty">isLeaf</td>
		<td class="labelpropertydesc">判断是否叶子节点,$('#treeId').tree('isLeaf',node)</td>
	</tr>
	<tr>
		<td class="labelproperty">find</td>
		<td class="labelpropertydesc">根据id查找节点,$('#treeId').tree('find',id)</td>
	</tr>
	<tr>
		<td class="labelproperty">select</td>
		<td class="labelpropertydesc">选中节点,$('#treeId').tree('select',node)</td>
	</tr>
	<tr>
		<td class="labelproperty">check</td>
		<td class="labelpropertydesc">选中节点,$('#treeId').tree('check',node)</td>
	</tr>
	<tr>
		<td class="labelproperty">uncheck</td>
		<td class="labelpropertydesc">取消选中节点,$('#treeId').tree('uncheck',node)</td>
	</tr>
	<tr>
		<td class="labelproperty">collapse</td>
		<td class="labelpropertydesc">折叠选中节点,$('#treeId').tree('collapse',node)</td>
	</tr>
	<tr>
		<td class="labelproperty">collapseAll</td>
		<td class="labelpropertydesc">折叠所有节点,$('#treeId').tree('collapseAll')</td>
	</tr>
	<tr>
		<td class="labelproperty">expandAll</td>
		<td class="labelpropertydesc">展开所有节点,$('#treeId').tree('expandAll')</td>
	</tr>
	<tr>
		<td class="labelproperty">expandTo</td>
		<td class="labelpropertydesc">展开到指定节点,$('#treeId').tree('expandTo',node)</td>
	</tr>
	<tr>
		<td class="labelproperty">append</td>
		<td class="labelpropertydesc">附加节点,$('#treeId').tree('append',{"data":treeNodeData})</td>
	</tr>
	<tr>
		<td class="labelproperty">insert</td>
		<td class="labelpropertydesc">插入节点,$('#treeId').tree('insert',node)</td>
	</tr>
	<tr>
		<td class="labelproperty">remove</td>
		<td class="labelpropertydesc">移除节点,$('#treeId').tree('remove',node)</td>
	</tr>
</table>